@font-face {
    font-family: font;
    src: url(../Vazir/Vazir-Bold-FD.ttf);
}
html,body{
width: 100%;
height: auto;
float: left;
margin: 0;
padding: 0;   
direction: rtl;
}
body *{
    font-family: font;
}
a{
    text-decoration: none;
}
.m-blog-row{
    width: 91%;
    height: auto;
    float: left;
    margin: 1em 4.5%;
    display: flex;
    flex-direction: column;
    transform: translateX(-15em);     
    opacity: 0;
}
.m-row-title {
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1em;
}
.m-row-title span {
    color: rgba(128, 128, 128, 0.603);
    font-size: 15px;
}
.m-row-title h2 {
    font-size: 40px;
    margin: 0;
}
.m-blog-box{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
.m-blog-card{
    width: 31.3%;
    height: auto;
    float: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1em 1%;
    border: 1.5px solid #3492b273;
    border-radius: 10px;
    box-sizing: border-box;
    overflow: hidden;
}
.m-blog-card-img{
    width: 100%;
    height: 38vh;
    float: left;
    position: relative;
    overflow: hidden;
    display: flex;
}
.m-blog-card-img img{
    width: 100%;
    height: auto;
    float: left;
    transition: 0.4s;
    object-fit: cover;
}
.m-blog-card:hover img{
    transform: scale(1.1);
    transition: 0.4s;
}
.m-blog-card-img a{
    width: 100%;
    height: 100%;
    float: left;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}
.m-blog-time{
    width: 3.5em;
    height: auto;
    float: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f3fffb;
    border-radius: 10px;
    color: #3492B2;
    padding:0.3em 0.1em;
    box-sizing: border-box;
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    z-index: 1;
}
.m-blog-time h4{
    margin: 0;
    font-size: 25px;
    line-height: 27px;
}
.m-blog-card-des{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 1em;
    flex-direction: column;
    background: white;
    flex-grow: 1;
    justify-content: space-between;
}
.m-blog-card-des h3{
    width: 100%;
    height: auto;
    float: left;
    text-align: center;
    margin: 0;
    /* overflow: hidden;
    text-overflow: ellipsis;
    text-wrap:nowrap; */
    margin-bottom: 1em;
    font-size: 25px;
}
.m-blog-card-des h3>a{
    color: rgb(32, 32, 32);
    transition: 0.4s;
}
.m-blog-card-des h3>a:hover{
    color: rgb(0, 94, 202);
    transition: 0.4s;
}
.m-blog-card-btn{
    width: fit-content;
    padding: 0.9em 2.2em;
    background: rgb(62 61 147);
    color: white;
    border-radius: 100px;
    /* border: 1.5px solid #0b9bcb; */
    box-sizing: border-box;
    font-size: 14px;
    transition: 0.4s;
    box-shadow: 1px 1px 9px gray;
}
.m-blog-card-btn:hover{
    background: rgb(188 107 225);
    transition: 0.4s;
}

@media only screen and (max-width:800px){
    .m-blog-box{
        flex-direction: column;
        align-items: center;
    }
    .m-blog-card {
        width: 70%;
        margin-left: 0;
        margin-right: 0;
    }
}
@media only screen and (max-width:600px){
    .m-blog-card {
        width: 100%;
    }
}